package com.res.share.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 收藏明细
 * </p>
 *
 * @author astupidcoder
 * @since 2021-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("res_collection")
public class ResCollection extends Model {
    private static final long serialVersionUID = 1L;
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;
    @TableField("ART_ID")
    private Integer artId;
    @TableField("CREATE_USER_ID")
    private Integer createUserId;
    @TableField("CREATE_TIME")
    private Date createTime;
    @TableField("UPDATE_USER_ID")
    private Integer updateUserId;
    @TableField("UPDATE_TIME")
    private Date updateTime;
    @TableLogic(value = "0", delval = "1")
    @TableField("IS_DEL")
    private Integer isDel;

    @TableField(exist = false)
    private String title;
    @TableField(exist = false)
    private Integer articleId;
    @TableField(exist = false)
    private String cateName;
    @TableField(exist = false)
    private String titleImg;
    @TableField(exist = false)
    private Date resArtCreateTime;

}
